package com.newworld.basketballfire.main.dao.mapper;

import com.newworld.basketballfire.main.bean.UserListParam;
import com.newworld.basketballfire.service.model.User;

import java.util.List;

/**
 * Created by George on 2019/3/3.
 * UserMapper
 */
public interface UserMapper {
    void createUser(User user);

    void updateUser(User user);

    User getUser(String id);

    List<User> getUserList(UserListParam userListParam);

    int getUserListCount(UserListParam userListParam);

    void updateUserDues(User user);

    List<User> getUsersByIds(List<String> ids);

    void updateUserListDues(List<User> users);
}
